package com.wicket.okrapp.biz.service.dto.common;
import com.wicket.okrapp.common.dto.BaseDto;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc SumOfMultipleNumDto
     * @使用场景
     */
    @Data
    public class SumOfMultipleNumDto extends BaseDto  implements Serializable {
      
    /**
     * 被评对象目标周期ID 
     */
    @NotNull(message = "被评对象目标周期ID不能为空")
@ApiModelProperty("被评对象目标周期ID")
    private String	 evaObjTargetCycleId;

    /**
     * 目标值 
     */
    @NotNull(message = "目标值不能为空")
@ApiModelProperty("目标值")
    private Double	 targetValue;

    /**
     * 是否父周期 TRUE:是 FALSE:否
     */
    @NotNull(message = "是否父周期不能为空")
@ApiModelProperty("是否父周期")
    private String	 isParentCycle;

    /**
     * 是否子周期 TRUE:是 FALSE:否
     */
    @NotNull(message = "是否子周期不能为空")
@ApiModelProperty("是否子周期")
    private String	 isSubCycle;

    /**
     * 是否中期 TRUE:是 FALSE:否
     */
    @NotNull(message = "是否中期不能为空")
@ApiModelProperty("是否中期")
    private String	 isMetaphase;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      SumOfMultipleNumDto that = (SumOfMultipleNumDto) o;
      return  evaObjTargetCycleId == that.evaObjTargetCycleId&&targetValue == that.targetValue&&isParentCycle == that.isParentCycle&&isSubCycle == that.isSubCycle&&isMetaphase == that.isMetaphase;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), evaObjTargetCycleId,targetValue,isParentCycle,isSubCycle,isMetaphase);
    }
    
      

    }
   